include ../makeconfig

objects = \
fem_global_types.o\
fem_global_consts.o\
fem_scheme.o\
fem_A_matrix_LIP.o\
fem_A_matrix.o\
fem_matrix_funcs.o\
fem_linear_solver.o\
fem_main.o
#fef_set_module.o\

all: objcomp

objcomp : $(objects)
	$(RM) libfem.a
	$(AR) $(ARFLAGS) libfem.a $(objects)
	$(RANLIB) libfem.a

clean :
	$(RM) *.o *.mod *.a

veryclean :
	$(RM) *.o *.mod *.a

.SUFFIXES:.f
.f.o: 
	$(F77) $(F77FLAGS) -c $<
.SUFFIXES:.f90
.f90.o: 
	$(F90) $(F90FLAGS) -c $<

